﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Ord_New.aspx.cs" Inherits="HealthSystem.Ord_New" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="panle1" />
     <ext:Panel  runat="server" ID="panle1" Layout="Fit" ShowHeader="false">
        <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                   <ext:Button ID="Button1" runat="server" Text="保存" OnClick="Save_Click" Icon="SystemSave" ValidateForms="Form2"></ext:Button>
                   <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server"></ext:ToolbarSeparator>
                   <ext:Button runat="server" Text="关闭" Icon="SystemClose" ID="btnClose"></ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Form ID="Form2" runat="server" EnableBackgroundColor="true" ShowHeader="false" BodyPadding="10px">
                <Rows>
                   <%-- <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="机构编号" ID="id" Required="true" ShowRedStar="true" ></ext:TextBox>
                        </Items>
                    </ext:FormRow>--%>
                    <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="机构名称" ID="name"  Required="true" ShowRedStar="true"></ext:TextBox>
                            <ext:CheckBox runat="server" Label="默认添加账户" Checked="true" Enabled="false" ID="defaultbox"></ext:CheckBox>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="地区" ID="districtname"  Required="true" ShowRedStar="true" Enabled="false"></ext:TextBox>
                            <ext:HiddenField runat="server" ID="districtid"></ext:HiddenField>
                            <ext:Button Text="地区选择" ID="choosedistric" runat="server"></ext:Button>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="机构地址" ID="Address"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="联系人" ID="LinkMan"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="电话" ID="OfficePhone"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="手机" ID="MobilePhone"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="传真" ID="Fax"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                     <ext:FormRow>
                        <Items>
                            <ext:TextBox runat="server" Label="Email" ID="Email"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
        </Items>
    </ext:Panel>
     <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        EnableMaximize="true" EnableResize="true" Target="Parent"
        IsModal="True" Width="250px" Height="450px" AutoScroll="true">
    </ext:Window>
    </form>
</body>
</html>
